﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DFGK_WMS.Model.Models.PDA
{
    public class ShippingOrderDetailCriteriaModel
    {
        /// <summary>
		/// 主键
		/// </summary>
		public int? Id
        {
            get;
            set;
        }

        /// <summary>
        /// 
        /// </summary>
        public string OrderSN
        {
            get;
            set;
        }

        /// <summary>
        /// 
        /// </summary>
        public int? BillType
        {
            get;
            set;
        }

        /// <summary>
        /// 优先级:默认为0
        /// </summary>
        public int? Proirity
        {
            get;
            set;
        }

        /// <summary>
        /// 状态：0-新建;1-已启动;2-作业中;3-已完成;4-强制完成;5-暂停;6-失效；7-异常
        /// </summary>
        public int? Status
        {
            get;
            set;
        }
        /// <summary>
        /// 是否出库复核（用于PDA出库复核）
        /// </summary>
        public bool? IsOutOrderReview
        {
            get;
            set;
        }
        /// <summary>
        /// 仓库Id
        /// </summary>
        public int? WarehouseId
        {
            get;
            set;
        }
        /// <summary>
        /// 库房编码
        /// </summary>
        public string WarehouseCode
        {
            get;
            set;
        }

        /// <summary>
        /// 库房名称
        /// </summary>
        public string WarehouseName
        {
            get;
            set;
        }

        /// <summary>
        /// 库区编码
        /// </summary>
        public string AreaCode
        {
            get;
            set;
        }

        /// <summary>
        /// 库区名称
        /// </summary>
        public string AreaName
        {
            get;
            set;
        }

        /// <summary>
        /// 物料ID
        /// </summary>
        public int? MaterialId
        {
            get;
            set;
        }

        /// <summary>
        /// 物料号，对应公共数据库中的物料主数据表,指定仓位出库的时候物料号允许为空
        /// </summary>
        public string MaterialCode
        {
            get;
            set;
        }

        /// <summary>
        /// 物料名称
        /// </summary>
        public string MaterialName
        {
            get;
            set;
        }

        /// <summary>
        /// 
        /// </summary>
        public string MaterialTypeCode
        {
            get;
            set;
        }

        /// <summary>
        /// 批次号
        /// </summary>
        public string BatchNO
        {
            get;
            set;
        }
        /// <summary>
        /// 合格状态
        /// </summary>
        public int? QualityState
        {
            get; set;
        }

        /// <summary>
        /// 计量单位编号
        /// </summary>
        public int? UnitId
        {
            get;
            set;
        }

        /// <summary>
        /// 计量单位名称
        /// </summary>
        public string UnitName
        {
            get;
            set;
        }

        /// <summary>
        /// 预期出货数量
        /// </summary>
        public decimal? QTY
        {
            get;
            set;
        }

        /// <summary>
        /// 出库站台Id
        /// </summary>
        public int? StationId
        {
            get;
            set;
        }

        /// <summary>
        /// 预期出库站台或站台组
        /// </summary>
        public string StationName
        {
            get;
            set;
        }

        /// <summary>
        /// 
        /// </summary>
        public string ERPCode
        {
            get;
            set;
        }

        /// <summary>
        /// 包装数量
        /// </summary>
        public int? PackQTY
        {
            get;
            set;
        }

        /// <summary>
        /// 已经下架的数量
        /// </summary>
        public decimal? PickedQTY
        {
            get;
            set;
        }

        /// <summary>
        /// 已经出库完成的数量
        /// </summary>
        public decimal? ShippedQTY
        {
            get;
            set;
        }

        /// <summary>
        /// 创建用户Id
        /// </summary>
        public int? CreateUserId
        {
            get;
            set;
        }

        /// <summary>
        /// 创建用户名
        /// </summary>
        public string CreateUserName
        {
            get;
            set;
        }

        /// <summary>
        /// 修改用户ID
        /// </summary>
        public int? ModifyUserId
        {
            get;
            set;
        }

        /// <summary>
        /// 修改用户
        /// </summary>
        public string ModifyUserName
        {
            get;
            set;
        }

        /// <summary>
        /// 提交人Id
        /// </summary>
        public int? SubmitUserId
        {
            get;
            set;
        }

        /// <summary>
        /// 提交人
        /// </summary>
        public string SubmitUserName
        {
            get;
            set;
        }

        /// <summary>
        /// 审核人Id
        /// </summary>
        public int? AuditUserId
        {
            get;
            set;
        }

        /// <summary>
        /// 审核人
        /// </summary>
        public string AuditUserName
        {
            get;
            set;
        }

        /// <summary>
        /// 部门编码
        /// </summary>
        public string DeptCode
        {
            get; set;
        }
        /// <summary>
        /// 部门名称
        /// </summary>
        public string DeptName
        {
            get; set;
        }


        /// <summary>
        /// 货主Id
        /// </summary>
        public int? OwnerId
        {
            get;
            set;
        }

        /// <summary>
        /// 货主
        /// </summary>
        public string OwnerName
        {
            get;
            set;
        }
        /// <summary>
        /// 物料凭证号
        /// </summary>
        public string MBLNR
        {
            get; set;
        }

        /// <summary>
        /// 物料凭证年度
        /// </summary>
        public string MJAHR
        {
            get; set;
        }
        /// <summary>
        /// 物料凭证行项目
        /// </summary>
        public string ZEILE
        {
            get; set;
        }
        /// <summary>
        /// 采购订单号
        /// </summary>
        public string PurOrderNO
        {
            get; set;
        }
        /// <summary>
        /// 采购订单行号
        /// </summary>
        public string PurOrderLineNO
        {
            get; set;
        }
        /// <summary>
        /// 采购订单行项目类型：0-无；1-L外协；2-U转储;3-正常采购
        /// </summary>
        public int? PurOrderLineType
        {
            get; set;
        }
        /// <summary>
        /// 生产订单号
        /// </summary>
        public string ProOrderNO
        {
            get; set;
        }

        /// <summary>
        /// 对应发货单号
        /// </summary>
        public string DisOrderNO
        {
            get; set;
        }

        /// <summary>
        /// 对应发货单行号
        /// </summary>
        public string DisOrderLineNO
        {
            get; set;
        }

        /// <summary>
        /// 关联出库凭据Id
        /// </summary>
        public int? RefOutVoucherId
        {
            get; set;
        }

        /// <summary>
        /// 关联发货单Id
        /// </summary>
        public int? RefDispatchOrderId
        {
            get; set;
        }
        /// <summary>
        /// 是否混码
        /// </summary>
        public bool? IsMultPallet
        {
            get; set;
        }
        /// <summary>
        /// 是否挂起
        /// </summary>
        public bool? IsSuspend
        {
            get; set;
        }
        /// <summary>
        /// 一键出库
        /// </summary>
        public bool? IsOnceOut
        {
            get; set;
        }
    }
}
